import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import legacy from '@vitejs/plugin-legacy'

// https://vitejs.dev/config/
export default defineConfig({
  plugins: [react(),
  legacy({
    targets: ['defaults', 'not IE 11'],
  }),
  ],
  // 指定环境变量目录
  // envDir: process.cwd(),
})
